package com.yunxi.model.activiti;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;


@ApiModel(description="工作流类型")
@TableName(value = "activiti_tt_type")
@Data
public class ActivitiType {
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "工作流类型CODE", dataType = "String", example = "bx")
    @TableField("ACTIVITI_TYPE_CODE")
    private String activitiTypeCode;

    @ApiModelProperty(value = "工作流简称", dataType = "String", example = "报")
    @TableField("ACTIVITI_TYPE_DESC")
    private String activitiTypeDesc;

    @ApiModelProperty(value = "工作流类型名称", dataType = "String", example = "报销流程")
    @TableField("ACTIVITI_TYPE_NAME")
    private String activitiTypeName;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private Long createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_DATE", fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.UPDATE)
    private Long updateBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_DATE",fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

    private transient String companyId;
    private transient List<ActivitiManage> manageList = new ArrayList<ActivitiManage>();
}